package com.xinxin.websocket.response;

import lombok.Data;

/**
 * @author ：史鑫鑫
 * @date ：Created in 2019/4/28 14:21
 */
@Data
public class Response<T> {
    int code;
    String msg;
    T data;

    public Response(int code, String msg, T data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}
